package org.bulu.project.system.mapper;

import org.apache.ibatis.annotations.*;

@Mapper
public interface LikeMapper {
    //点赞
    Long insertLike(@Param("uid") Integer uid, @Param("vid") Integer vid);
    //取消点赞
    Long deleteLike(@Param("uid") Integer uid, @Param("vid") Integer vid);
    //统计
    Long countLikes(@Param("vid") Integer vid);
}
